var express = require('express');
var router = express.Router();
let {getAllTestsByType,DoneTest} = require("./../controller/testsController");

//获取所有考试
router.get("/getAllTestsByType",getAllTestsByType);
//完成考试
router.post("/DoneTest",DoneTest);
module.exports = router;